<form id="pagerForm" method="post" action="__URL__/readSupply">
	<input type="hidden" name="pageNum" value="{$currentPage}" /> <input
		type="hidden" name="numPerPage" value="{$numPerPage}" /> <input
		type="hidden" name="id" value="{$id}" />
</form>
<script type="text/javascript">
	function reloadCustomerSupply() {
		navTab.reload("__SELF__", {});
	}
	function dbltable(target,rel){
	    if( target == 'sid_node'){
	    $.pdialog.open("__URL__/supplyEdit/id/"+rel+"/sid_node="+rel,"pdialogid", "修改供货信息", { max:false, mask:true, width: 600, height: 400});
	    } 
	  }
</script>
<!--<div class="pageHeader">
	<form onsubmit="return navTabSearch(this);" action="__URL__/searchSupply"
		method="post">
		<div class="searchBar">
			<ul class="searchContent">
				<li><label>订单号：</label> <input type="text" class="digits" name="orders"
					></li>
			</ul>
			<div class="subBar">
				<ul>
					<li><div class="buttonActive">
							<div class="buttonContent">
								<button type="submit">查询</button>
							</div>
						</div></li>
				</ul>
			</div>
		</div>
	</form>
</div>-->
	<div class="panelBar">
		<ul class="toolBar">
		<!-- 修改不在保留 只能在合同中修改客户的商品 by wgf 2013.7.8-->
		<!-- 
		
			<li><a class="edit" href="__URL__/supplyEdit/id/{sid_customergood}"
				target="dialog" mask="true" height="500"><span>修改</span></a></li>
				 -->
			<li><a class="icon" href="#" onclick="reloadCustomerSupply()"><span>刷新</span></a></li>
		</ul>
	</div>
	<div>
		<table class="table" width="100%" layoutH="75">
			<thead>
				<tr>
				    <th width="30" align="center"></th>
					<th width="80" align="center">商品名称</th>
					<th width="80" align="center">供货总量</th>
					<th width="80" align="center">已审批量</th>
					<th width="80" align="center">已供货量</th>
					<th width="80" align="center">未供货量</th>
				</tr>
			</thead>
			<tbody>
				<define name="number" value="1" />
				<volist id="vo" name="list">
				<tr target="sid_customergood" rel="{$vo['id']}" >
					<td><input type="checkbox" name="ids" value="{$vo['id']}" /></td>
					<td>{$vo['product']}</td>
					<td>{$vo['supplyamount']}</td>
					<td>{$vo['hasexam']}</td>
					<td>{$vo['hassupply']}</td>
					<td>{$vo['nosupply']}</td>
				</tr>
				</volist>
			</tbody>
		</table>

		<div class="panelBar">
			<div class="pages">
				<span>每页</span> <select class="combox" name="numPerPage"
					onchange="navTabPageBreak({numPerPage:this.value})">
					<eq name="numPerPage" value="24">
					<option value="24" selected>24</option>
					<else />
					<option value="24">24</option>
					</eq>
					<eq name="numPerPage" value="50">
					<option value="50" selected>50</option>
					<else />
					<option value="50">50</option>
					</eq>
					<eq name="numPerPage" value="100">
					<option value="100" selected>100</option>
					<else />
					<option value="100">100</option>
					</eq>
					<eq name="numPerPage" value="200">
					<option value="200" selected>200</option>
					<else />
					<option value="200">200</option>
					</eq>
				</select> <span>条，共{$totalCount}条</span>
			</div>
			<div class="pagination" targetType="navTab"
				totalCount="{$totalCount}" numPerPage="{$numPerPage}"
				pageNumShown="10" currentPage="{$currentPage}"></div>
		</div>
	</div>
